package com.googlecode.tabletags.views.freemarker.tags;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.components.Component;

import com.googlecode.tabletags.components.SortableHeader;
import com.opensymphony.xwork2.util.ValueStack;

/**
 * @see SortableHeader
 */
public class SortableHeaderModel extends EmbeddableModel {
    
    public SortableHeaderModel(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
        super(stack, req, res);
    }

    @Override
    protected Component getBean() {
        return new SortableHeader(stack, req, res);
    }
}
